const state = {
    active: 0,
    returnVal:true
};

const mutations = {
    setLActive (state, payload) {
        state.active = payload;
    },
    setLReturnVal (state, payload) {
        state.returnVal = payload;
    },
    getLReturnVal (state) {
        return state.returnVal;
    },
};
const actions = {
    updataActive ({ commit }, payload) {
        commit('setLActive',payload);
    },

};
export default {
    state,
    actions,
    mutations
};
